import requests
import config

class LoginAPI:
    def login(self,login_data):
        url = config.BATH_URL + "/api/sys/login"
        # login_data = {"mobile":13800000002,"password":123456}
        response = requests.post(url=url,json=login_data)
        return response
if __name__ == '__main__':
    api = LoginAPI()
